﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpMap.Wpf.Services
{
    public abstract class ServiceManager : IServiceProvider
    {
        public ServiceType GetService<ServiceType>()
        {
            return (ServiceType)this.GetService(typeof(ServiceType));
        }

        public abstract object GetService(Type serviceType);
    }
}
